package com.dao;

import com.entity.GoldPoints;

import com.entity.User;
import com.util.AjaxResult;
import com.vo.GoldPointsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
@Repository
public interface GoldPointMapper {
    //插入增加积分金币
    //@李奇洲
    public int insertPointGoldCount(GoldPoints goldPoints);
//    pj
    public List findAllRecords(@Param("id") int id);
    public GoldPointsVo findGoldPointCount(@Param("id")int id);
    public int exchangePoints (@Param("pointsCt") Integer pointsCt,@Param("id") int id);
//    杨跃森
    public int insertPointGold(GoldPoints gp);
    public Date selectPointGold(int user_id);
    public GoldPointsVo findFrontSumByUid(int id);


}
